package cn.lll.vuehouse.service;

import cn.lll.vuehouse.common.ResponseResult;
import cn.lll.vuehouse.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author asus-pc
* @description 针对表【permission】的数据库操作Service
* @createDate 2023-09-03 11:05:47
*/
public interface PermissionService extends IService<Permission> {

    ResponseResult getRolePermissionById(Integer id);

    ResponseResult getPermissionByTitle(String title);

    ResponseResult getAuthTree();


    ResponseResult getPermissionById(Integer id);

    ResponseResult deletePermissionById(Integer id);
}
